# -*- coding: UTF-8 -*-
# @Project ：luffycity 
# @File    ：条件判断语句.py
# @Author  ：于金龙
# @IDE     ：PyCharm 
# @Date    ：2024/3/30 11:23
print("开始")
if True:
    print("123")
else:
    print("456")
print("结束")

number = 19
if number % 2 == 0:
    print("number" + "是奇数")
else:
    print("number" + "是偶数")

num = 19
if num > 10:
    print("num变量对应的值大于10")
else:
    print("num变量对应的值不大于10")

username = "于金龙"
password = "6666"
if username == "于金龙" and password == '6666':
    print("登录成功")
else:
    print("失败")

username = "于金龙"
username1 = "6666"

if username == "于金龙" or username1 == '6666':
    print("大会员用户")
else:
    print("普通用户")

# 多条件判断语句

num = input("请输入数字")
data = int(num)
if data > 80:
    print("太大了")
elif data > 60:
    print("中等")
elif data > 50:
    print("正好")
else:
    print("有点小了")


# 模拟10086
print("欢迎拨打10086，我们提供如下服务：1.花费相关业务，2.业务办理，3.人工服务")

choice = int(input("选择服务的内同容"))
if choice == 1:
    print("花费业务")
    num = int(input("按1查询，按2充值"))
    if num == 1:
        print('话费余额100')
    elif num == 2:
        print("充值成功！！")
elif choice == 2:
    print("业务办理")
    num = int(input("选择要办理业务，1销户，2.办卡"))
    if num == 1:
        print("办卡")
    elif num == 2:
        print('办卡')
elif choice == 3:
    print("正在为你专接人工")